﻿<!doctype html>
<html class="no-js" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>可鼠标拖动摆放的网格布局</title>

<link rel="stylesheet" type="text/css" href="css/jquery.gridster.min.css">
<link rel="stylesheet" href="css/style.css">

</head>

<body>

<section class="demo">

	<div class="gridster">

		<ul>
			<li data-row="1" data-col="1" data-sizex="2" data-sizey="1">
				<select style="">
					<option>1111</option>
				</select>
			</li>
			<li data-row="1" data-col="1" data-sizex="2" data-sizey="1"></li>
			<li data-row="1" data-col="1" data-sizex="2" data-sizey="2"></li>
			<!--<li data-row="1" data-col="1" data-sizex="2" data-sizey="1"></li>-->
			<li data-row="1" data-col="1" data-sizex="2" data-sizey="1"></li>
			<li data-row="1" data-col="1" data-sizex="2" data-sizey="1"></li>

			<!--<li data-row="3" data-col="1" data-sizex="1" data-sizey="1"></li>-->
			<!--<li data-row="3" data-col="2" data-sizex="2" data-sizey="1"></li>-->
			<!--<li data-row="1" data-col="2" data-sizex="2" data-sizey="2"></li>-->
			<!--<li class="try" data-row="1" data-col="4" data-sizex="1" data-sizey="1"></li>-->
			<!--<li data-row="2" data-col="4" data-sizex="2" data-sizey="1"></li>-->
			<!--<li data-row="3" data-col="4" data-sizex="1" data-sizey="1"></li>-->
			<!--<li data-row="1" data-col="5" data-sizex="1" data-sizey="1"></li>-->
			<!--<li data-row="3" data-col="5" data-sizex="1" data-sizey="1"></li>-->
			<!--<li data-row="1" data-col="6" data-sizex="1" data-sizey="1"></li>-->
			<!--<li data-row="2" data-col="6" data-sizex="1" data-sizey="2"></li>-->
		</ul>
	</div>

</section>

<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script src="js/jquery.gridster.js" type="text/javascript"></script>
<script type="text/javascript">
  var gridster;

  $(function(){

    gridster = $(".gridster > ul").gridster();

  });
  
</script>

</body>
</html>